from django.db import models

# Create your models here.



class Press(models.Model):
    id = models.AutoField(primary_key=True)
    ip = models.CharField(max_length=32)
    ip1 = models.CharField(max_length=32)
    user = models.CharField(max_length=32)
    pwd = models.CharField(max_length=32)
    post = models.CharField(max_length=32)
    timestart = models.CharField(max_length=32)
    timedate = models.CharField(max_length=32)
    timestop = models.CharField(max_length=32)
    name = models.CharField(max_length=32)
    emil = models.CharField(max_length=32)
    state = models.CharField(max_length=32)
    remark = models.CharField(max_length=32)

    def __str__(self):
        return self.name